package cn.levill.domain.task.repository;


import cn.levill.domain.task.model.entity.TaskEntity;

import java.util.List;

/**
 * @author Levill
 * @description 任务仓储接口
 * @date 2025/02/24 22:05
 */
public interface ITaskRepository {
    List<TaskEntity> queryNoSendMessageTaskList();

    void sendMessage(TaskEntity taskEntity);

    void updateTaskSendMessageCompleted(String userId, String messageId);

    void updateTaskSendMessageFail(String userId, String messageId);
}
